2001-10-27 Anders Carlsson <andersca@gnu.org>
* gdk/x11/gdkmain-x11.c: Replace int and guint with
long and gulong in some places to make the code 64-bit
clean.
(_gdk_windowing_init_check): Replace gint with gulong.
This patch was made by George Lebl and fixes bug #62113.
{
XKeyboardState keyboard_state;
XClassHint *class_hint;
- guint pid;
+ gulong pid;
_gdk_x11_initialize_locale ();
unsigned int class;
char *title;
int i;
- int pid;
+ long pid;
g_return_val_if_fail (attributes != NULL, NULL);
gdk_window_set_icon_list (GdkWindow *window,
GList *pixbufs)
{
- guint *data;
+ gulong *data;
guchar *pixels;
- guint *p;
+ gulong *p;
gint size;
GList *l;
GdkPixbuf *pixbuf;
l = g_list_next (l);
}
- data = g_malloc (size*4);
+ data = g_malloc (size * sizeof (gulong));
l = pixbufs;
p = data;